﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="AssignCompaniesToUser.aspx.cs" Inherits="Administration_AssignCompaniesToUser"
    Title="Crux -  Assign Companies To User" CodeFileBaseClass="BaseView" ViewName="AssignCompaniesToUser" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td colspan="2" class="formGroupGap">
            </td>
        </tr>
        <tr>
            <td align="right" valign="middle" class="formLeftColmnWidth formLabel">
                Select User:
            </td>
            <td align="left" valign="middle" class="formRightColmnWidth">
                <asp:DropDownList ID="drpallusers" runat="server" OnSelectedIndexChanged="drpallusers_SelectedIndexChanged"
                    AutoPostBack="true">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="formFieldGap">
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Panel ID="pnlCompanyRepresentatives" runat="server">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td align="right" valign="top" class="formLeftColmnWidth formPaddingTop02">
                                <asp:Label ID="lblCompaniesToRepresent" runat="server" Text="Companies Represented By User:"
                                    CssClass="formLabel"></asp:Label>
                            </td>
                            <td align="left" valign="middle" class="formRightColmnWidth">
                                <asp:CheckBoxList ID="chkCompaniesToAssign" runat="server">
                                </asp:CheckBoxList>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" class="formGroupGap">
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td align="left" valign="middle" class="formRightColmnWidth">
                                <asp:Button ID="btnSubmit" runat="server" OnClick="btnSumit_Click" Text="Save" />
                                &nbsp;
                                <asp:Button ID="btnBack" runat="server" OnClick="btnBack_Click" Text="Cancel" CausesValidation="false" />
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>
